package com.fyy.singleton;

/**
 * @Author fyy
 * @Description
 * @Date 2020/7/17 14:18
 */
public enum  EnumSingleton {

    INSTANCE;
    public void whateverMethod() {
    }

    public void outMessages(){
        System.out.println("hello world");
    }

}
